<div class="model">
    <div class="vip vipcode">
        <%=image_tag('success.png', size: "80x65",style: 'margin-top:40px;') %>
        <p style="margin-top: 30px;">恭喜您注册会员成功!</p>
    </div>
</div>

<style>
.model .vip {
  width: 80%;
  background: white;
  height: 295px;
  position: absolute;
  top: -30%;
  left: 10%;
  box-sizing: border-box;
  bottom: 0;
  margin: auto;
  border-radius: 15px;
  text-align: center;
}
</style>
